package com.pactera.asmp.server.error;


import com.pactera.asmp.server.common.exception.GenericError;

public enum CommonValidationError implements GenericError {
    BASIC_BAD_REQUEST_PARAMS(10001, "Invalid parameter/field!"),
    ;

    private final int code;
    private final String message;

    CommonValidationError(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }



}
